setShouldShowIcon

open fun setShouldShowIcon(shouldShowIcon: Boolean)(source)

Sets whether the icon should be shown.